<?php

class Template_Theme_Default_HTML_Page extends Template {

	public $blocks_top = false;
	public $blocks_left = false;
	public $blocks_right = false;
	public $blocks_bottom = false;

	public function display(){

?>
	<div class="page">
<?php 
if($this->blocks_top){ ?>
		<div class="blocks blocks_top">

		</div>
<?php
}

if($this->blocks_left){ ?>
		<div class="blocks blocks_left">

		</div>
<?php
}
if($this->blocks_right){ ?>
		<div class="blocks blocks_right">

		</div>
<?php
}
if(isset($this->module)){
?>
		<div class="page_center<?php if($this->blocks_left){ ?>page_left<?php } if($this->blocks_right){ ?>page_right<?php } ?>">
<?php
		$this->module->display();
?>
		</div>
<?php
}
if($this->blocks_bottom	){ 
?>
		<div class="blocks blocks_bottom">

		</div>
<?php 
} 
?>
	</div>
<?php
	}


}
